package com.aquarius.chapter2;

public class Test {

	public static void main(String[] args) {
		//Person person = Person.getInstance();
		
		/*Person person = new Person();
		person.setId(002)
			.setName("shabi")
			.setSex("man")
			.setAddress("beijing");
		*/
		
		BetterPerson.Builder builder = new BetterPerson.Builder();
		builder.setId(003).setName("aquarius").setSex("unkown").setAddress("石龙区");
		BetterPerson person = builder.create();
		System.out.println(person);
	}
}
